﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;

namespace MockupDesigner.AppItems.Commands
{
    public static class MDCommands
    {
        public static RoutedUICommand Group = new RoutedUICommand("Group", "Group", typeof(MDCommands));
        public static RoutedUICommand Ungroup = new RoutedUICommand("Ungroup", "Ungroup", typeof(MDCommands));
        public static RoutedUICommand BringForward = new RoutedUICommand("BringForward", "BringForward", typeof(MDCommands));
        public static RoutedUICommand BringToFront = new RoutedUICommand("BringToFront", "BringToFront", typeof(MDCommands));
        public static RoutedUICommand SendBackward = new RoutedUICommand("SendBackward", "SendBackward", typeof(MDCommands));
        public static RoutedUICommand SendToBack = new RoutedUICommand("SendToBack", "SendToBack", typeof(MDCommands));
        public static RoutedUICommand AlignTop = new RoutedUICommand("AlignTop", "AlignTop", typeof(MDCommands));
        public static RoutedUICommand AlignVerticalCenters = new RoutedUICommand("AlignVerticalCenters", "AlignVerticalCenters", typeof(MDCommands));
        public static RoutedUICommand AlignBottom = new RoutedUICommand("AlignBottom", "AlignBottom", typeof(MDCommands));
        public static RoutedUICommand AlignLeft = new RoutedUICommand("AlignLeft", "AlignLeft", typeof(MDCommands));
        public static RoutedUICommand AlignHorizontalCenters = new RoutedUICommand("AlignHorizontalCenters", "AlignHorizontalCenters", typeof(MDCommands));
        public static RoutedUICommand AlignRight = new RoutedUICommand("AlignRight", "AlignRight", typeof(MDCommands));
        public static RoutedUICommand DistributeHorizontal = new RoutedUICommand("DistributeHorizontal", "DistributeHorizontal", typeof(MDCommands));
        public static RoutedUICommand DistributeVertical = new RoutedUICommand("DistributeVertical", "DistributeVertical", typeof(MDCommands));
        public static RoutedUICommand SelectAll = new RoutedUICommand("SelectAll", "SelectAll", typeof(MDCommands));

        public static RoutedUICommand CloseDocument = new RoutedUICommand("CloseDocument", "CloseDocument", typeof(MDCommands));
        public static RoutedUICommand ExportAsImage = new RoutedUICommand("ExportAsImage", "ExportAsImage", typeof(MDCommands));
        public static RoutedUICommand ExportMetadatas = new RoutedUICommand("ExportMetadatas", "ExportMetadatas", typeof(MDCommands));
        public static RoutedUICommand AddToCustomControls = new RoutedUICommand("AddToCustomControls", "AddToCustomControls", typeof(MDCommands));
        public static RoutedUICommand DeleteToolbox = new RoutedUICommand("DeleteToolbox","DeleteToolbox",typeof(MDCommands));
        public static RoutedUICommand About = new RoutedUICommand("About", "About", typeof(MDCommands));

        static MDCommands()
        {
            SelectAll.InputGestures.Add(new KeyGesture(Key.A, ModifierKeys.Control));
            CloseDocument.InputGestures.Add(new KeyGesture(Key.F4, ModifierKeys.Control));
        }
    }
}
